package com.dajie.pt.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.dajie.pt.dao.base.BaseIbatisDao;
import com.dajie.pt.model.EdmCorpReviewInfo;

/**
 * EdmChoiceDao DAO.
 */
@Component
public class EdmCorpReviewDao extends BaseIbatisDao<EdmCorpReviewInfo, Integer>
{

	@Override
	protected Class getEntityClass() {
	
		return EdmCorpReviewInfo.class;
	}



	public void updateEdmCorpReviewYesByCorpId(Map params) {
		db().update("EdmCorpReviewInfo.updateYesByCorpId", params);
		
	}

	public void updateEdmCorpReviewNoByCorpId(Map params) {
		db().update("EdmCorpReviewInfo.updateNoByCorpId", params);
		
	}

	public Object getEdmCorpReviewInfoByCorpId(Map params) {
		return db().queryForObject("EdmCorpReviewInfo.getInfoByCorpId", params);
	}

	public void insertEdmCorpReviewNumByCorpId(Map params) {

		db().update("EdmCorpReviewInfo.saveCorpReviewInfo", params);
	}

	
}